<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PU2CLR AKC695X Arduino Library: Receiver Operation Methods</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">PU2CLR AKC695X Arduino Library
   &#160;<span id="projectnumber">1.0.2</span>
   </div>
   <div id="projectbrief">This is an Arduino Library to control the AKC695X / M695X DSP radio devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group___g_a04.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Receiver Operation Methods</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga735ce923f793b2cc437ff4c09cd4f026"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#ga735ce923f793b2cc437ff4c09cd4f026">AKC695X::commitTune</a> ()</td></tr>
<tr class="memdesc:ga735ce923f793b2cc437ff4c09cd4f026"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the STC bit to high when the tune operation completes.  <a href="group___g_a04.html#ga735ce923f793b2cc437ff4c09cd4f026">More...</a><br /></td></tr>
<tr class="separator:ga735ce923f793b2cc437ff4c09cd4f026"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0401dca3302ebfe9f35c215bb0a76364"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#ga0401dca3302ebfe9f35c215bb0a76364">AKC695X::setCustomBand</a> (uint16_t minimum_frequency, uint16_t maximum_frequency)</td></tr>
<tr class="memdesc:ga0401dca3302ebfe9f35c215bb0a76364"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the start and end frequencies for a custom band.  <a href="group___g_a04.html#ga0401dca3302ebfe9f35c215bb0a76364">More...</a><br /></td></tr>
<tr class="separator:ga0401dca3302ebfe9f35c215bb0a76364"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf77739f861a531dc4c7e6ac5a6cb2713"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#gaf77739f861a531dc4c7e6ac5a6cb2713">AKC695X::setFM</a> (uint8_t akc695x_fm_band, uint16_t minimum_freq, uint16_t maximum_freq, uint16_t default_frequency, uint8_t default_step)</td></tr>
<tr class="memdesc:gaf77739f861a531dc4c7e6ac5a6cb2713"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the <a class="el" href="class_a_k_c695_x.html">AKC695X</a> to FM mode.  <a href="group___g_a04.html#gaf77739f861a531dc4c7e6ac5a6cb2713">More...</a><br /></td></tr>
<tr class="separator:gaf77739f861a531dc4c7e6ac5a6cb2713"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f61d1c6b668dbcdb5917b58580ed44e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#ga8f61d1c6b668dbcdb5917b58580ed44e">AKC695X::setAM</a> (uint8_t akc695x_am_band, uint16_t minimum_freq, uint16_t maximum_freq, uint16_t default_frequency, uint8_t default_step)</td></tr>
<tr class="memdesc:ga8f61d1c6b668dbcdb5917b58580ed44e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the <a class="el" href="class_a_k_c695_x.html">AKC695X</a> to AM mode and selects the band.  <a href="group___g_a04.html#ga8f61d1c6b668dbcdb5917b58580ed44e">More...</a><br /></td></tr>
<tr class="separator:ga8f61d1c6b668dbcdb5917b58580ed44e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf17b1129300da3388a1ee18735a64e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#gabf17b1129300da3388a1ee18735a64e6">AKC695X::setStep</a> (uint8_t step)</td></tr>
<tr class="memdesc:gabf17b1129300da3388a1ee18735a64e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the step that will be used to increment and decrement the current frequency.  <a href="group___g_a04.html#gabf17b1129300da3388a1ee18735a64e6">More...</a><br /></td></tr>
<tr class="separator:gabf17b1129300da3388a1ee18735a64e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabe4bb9635ae8a7b53a5fd48b98d6339"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#gaabe4bb9635ae8a7b53a5fd48b98d6339">AKC695X::setFmSeekStep</a> (uint8_t value)</td></tr>
<tr class="memdesc:gaabe4bb9635ae8a7b53a5fd48b98d6339"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets FM step for seeking.  <a href="group___g_a04.html#gaabe4bb9635ae8a7b53a5fd48b98d6339">More...</a><br /></td></tr>
<tr class="separator:gaabe4bb9635ae8a7b53a5fd48b98d6339"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga60e4f53f014c32b748de04c9d643826d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#ga60e4f53f014c32b748de04c9d643826d">AKC695X::seekStation</a> (uint8_t up_down, void(*showFunc)()=NULL)</td></tr>
<tr class="memdesc:ga60e4f53f014c32b748de04c9d643826d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Seeks a FM station.  <a href="group___g_a04.html#ga60e4f53f014c32b748de04c9d643826d">More...</a><br /></td></tr>
<tr class="separator:ga60e4f53f014c32b748de04c9d643826d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0873887fb945b74c56f12ec601be00ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#ga0873887fb945b74c56f12ec601be00ac">AKC695X::setFrequency</a> (uint16_t frequency)</td></tr>
<tr class="memdesc:ga0873887fb945b74c56f12ec601be00ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the the device to a given frequency.  <a href="group___g_a04.html#ga0873887fb945b74c56f12ec601be00ac">More...</a><br /></td></tr>
<tr class="separator:ga0873887fb945b74c56f12ec601be00ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1675e3100bba495bc813899563badc42"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#ga1675e3100bba495bc813899563badc42">AKC695X::getFrequency</a> ()</td></tr>
<tr class="memdesc:ga1675e3100bba495bc813899563badc42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current frequency value.  <a href="group___g_a04.html#ga1675e3100bba495bc813899563badc42">More...</a><br /></td></tr>
<tr class="separator:ga1675e3100bba495bc813899563badc42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8351a39885da7e518e6fc5208c801c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#gaf8351a39885da7e518e6fc5208c801c7">AKC695X::frequencyUp</a> ()</td></tr>
<tr class="memdesc:gaf8351a39885da7e518e6fc5208c801c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the current step to the current frequency and sets the new frequency.  <a href="group___g_a04.html#gaf8351a39885da7e518e6fc5208c801c7">More...</a><br /></td></tr>
<tr class="separator:gaf8351a39885da7e518e6fc5208c801c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb5f99342439074cf8f9353f1d1307f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#gabb5f99342439074cf8f9353f1d1307f5">AKC695X::frequencyDown</a> ()</td></tr>
<tr class="memdesc:gabb5f99342439074cf8f9353f1d1307f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subtracts the current step from the current frequency and assign the new frequency.  <a href="group___g_a04.html#gabb5f99342439074cf8f9353f1d1307f5">More...</a><br /></td></tr>
<tr class="separator:gabb5f99342439074cf8f9353f1d1307f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0ff5be517897a239d2eba9869e1d2591"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#ga0ff5be517897a239d2eba9869e1d2591">AKC695X::setAudio</a> (uint8_t phase_inv, uint8_t line, uint8_t <a class="el" href="class_a_k_c695_x.html#a6eeb46370dd33c3336d4a228a61c4f12">volume</a>)</td></tr>
<tr class="memdesc:ga0ff5be517897a239d2eba9869e1d2591"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the audio output.  <a href="group___g_a04.html#ga0ff5be517897a239d2eba9869e1d2591">More...</a><br /></td></tr>
<tr class="separator:ga0ff5be517897a239d2eba9869e1d2591"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa446d042f11dd32356d2e95eae9f8cf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#gafa446d042f11dd32356d2e95eae9f8cf">AKC695X::setAudio</a> ()</td></tr>
<tr class="memdesc:gafa446d042f11dd32356d2e95eae9f8cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the audio output with default values.  <a href="group___g_a04.html#gafa446d042f11dd32356d2e95eae9f8cf">More...</a><br /></td></tr>
<tr class="separator:gafa446d042f11dd32356d2e95eae9f8cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c11dd6e97fe01ca7214676cb880e4a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#ga5c11dd6e97fe01ca7214676cb880e4a7">AKC695X::setVolume</a> (uint8_t <a class="el" href="class_a_k_c695_x.html#a6eeb46370dd33c3336d4a228a61c4f12">volume</a>)</td></tr>
<tr class="memdesc:ga5c11dd6e97fe01ca7214676cb880e4a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the output audio volume.  <a href="group___g_a04.html#ga5c11dd6e97fe01ca7214676cb880e4a7">More...</a><br /></td></tr>
<tr class="separator:ga5c11dd6e97fe01ca7214676cb880e4a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8526d91de9d635764fbba4f6ce1fa7d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#ga8526d91de9d635764fbba4f6ce1fa7d9">AKC695X::setVolumeUp</a> ()</td></tr>
<tr class="memdesc:ga8526d91de9d635764fbba4f6ce1fa7d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Increments the audio volume.  <a href="group___g_a04.html#ga8526d91de9d635764fbba4f6ce1fa7d9">More...</a><br /></td></tr>
<tr class="separator:ga8526d91de9d635764fbba4f6ce1fa7d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga743ab35c54155385e6585ee0067a209e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#ga743ab35c54155385e6585ee0067a209e">AKC695X::setVolumeDown</a> ()</td></tr>
<tr class="memdesc:ga743ab35c54155385e6585ee0067a209e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decrements the audio volume.  <a href="group___g_a04.html#ga743ab35c54155385e6585ee0067a209e">More...</a><br /></td></tr>
<tr class="separator:ga743ab35c54155385e6585ee0067a209e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaac575af74cdbf784e24366f13fc60f99"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#gaac575af74cdbf784e24366f13fc60f99">AKC695X::setVolumeControl</a> (uint8_t type)</td></tr>
<tr class="memdesc:gaac575af74cdbf784e24366f13fc60f99"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the kind of audio volume control will be used.  <a href="group___g_a04.html#gaac575af74cdbf784e24366f13fc60f99">More...</a><br /></td></tr>
<tr class="separator:gaac575af74cdbf784e24366f13fc60f99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadf936fa32a36782b72633cae84d63f88"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#gadf936fa32a36782b72633cae84d63f88">AKC695X::getRSSI</a> ()</td></tr>
<tr class="memdesc:gadf936fa32a36782b72633cae84d63f88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current RSSI.  <a href="group___g_a04.html#gadf936fa32a36782b72633cae84d63f88">More...</a><br /></td></tr>
<tr class="separator:gadf936fa32a36782b72633cae84d63f88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga580389b4740ed5cabcba28e481344a64"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___g_a04.html#ga580389b4740ed5cabcba28e481344a64">AKC695X::getSupplyVoltage</a> ()</td></tr>
<tr class="memdesc:ga580389b4740ed5cabcba28e481344a64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the supply voltage.  <a href="group___g_a04.html#ga580389b4740ed5cabcba28e481344a64">More...</a><br /></td></tr>
<tr class="separator:ga580389b4740ed5cabcba28e481344a64"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h1><a class="anchor" id="Receiver"></a>
Operation</h1>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga735ce923f793b2cc437ff4c09cd4f026"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga735ce923f793b2cc437ff4c09cd4f026">&#9670;&nbsp;</a></span>commitTune()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::commitTune </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the STC bit to high when the tune operation completes. </p>
<p>Tells the device that the tune process is over. </p>

<p class="reference">Referenced by <a class="el" href="group___g_a04.html#ga8f61d1c6b668dbcdb5917b58580ed44e">AKC695X::setAM()</a>, <a class="el" href="group___g_a04.html#gaf77739f861a531dc4c7e6ac5a6cb2713">AKC695X::setFM()</a>, and <a class="el" href="group___g_a04.html#ga0873887fb945b74c56f12ec601be00ac">AKC695X::setFrequency()</a>.</p>

</div>
</div>
<a id="ga0401dca3302ebfe9f35c215bb0a76364"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0401dca3302ebfe9f35c215bb0a76364">&#9670;&nbsp;</a></span>setCustomBand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::setCustomBand </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>minimum_frequency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>maximum_frequency</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the start and end frequencies for a custom band. </p>
<p>This method is used by setAM and setFM methods. <br  />
</p>
<p>This will called when you set a band greater than 17 on AM mode or greater than 7 on FM mode.</p>
<p>You can use more than one band at a time.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group___g_a01.html#ga763d7e126511095914012686cd07f3c6" title="Reg4 (type 0x04 / RW): configures register 4 (default: 0x19) Address.">akc595x_reg4</a>, <a class="el" href="group___g_a01.html#gae0b77f29d6b413d968115e292b6f13f5" title="Reg5 (type 0x05 / RW): configures register 5 (default: 0x32) Address.">akc595x_reg5</a> </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">band</td><td>if FM, a value greater than 7. If AM, a value greater than 17. You can use more than one. </td></tr>
    <tr><td class="paramname">minimum_frequency</td><td>Start frequency <br  />
 </td></tr>
    <tr><td class="paramname">maximum_frequency</td><td>Final frequency </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaf77739f861a531dc4c7e6ac5a6cb2713"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf77739f861a531dc4c7e6ac5a6cb2713">&#9670;&nbsp;</a></span>setFM()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::setFM </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>akc695x_fm_band</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>minimum_freq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>maximum_freq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>default_frequency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>default_step</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the <a class="el" href="class_a_k_c695_x.html">AKC695X</a> to FM mode. </p>
<p>Sets the device to FM mode. You can configure a custom FM band by setting band number greater than 7.</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">FM band </th><th class="markdownTableHeadNone">N# </th><th class="markdownTableHeadNone">Description  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">000 </td><td class="markdownTableBodyNone">0 </td><td class="markdownTableBodyNone">FM1,87 ~ 108, station search space specified intervals  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">001 </td><td class="markdownTableBodyNone">1 </td><td class="markdownTableBodyNone">FM2,76 ~ 108, station search space specified intervals  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">010 </td><td class="markdownTableBodyNone">2 </td><td class="markdownTableBodyNone">FM3,70 ~ 93, with a space station search interval set  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">011 </td><td class="markdownTableBodyNone">3 </td><td class="markdownTableBodyNone">FM4,76 ~ 90, Tuning predetermined space intervals  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">100 </td><td class="markdownTableBodyNone">4 </td><td class="markdownTableBodyNone">FM5,64 ~ 88, with a space station search interval set  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">101 </td><td class="markdownTableBodyNone">5 </td><td class="markdownTableBodyNone">TV1,56.25 ~ 91.75, station search space specified intervals  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">110 </td><td class="markdownTableBodyNone">6 </td><td class="markdownTableBodyNone">TV2, 174.75 ~ 222.25, found  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">111 </td><td class="markdownTableBodyNone">7 </td><td class="markdownTableBodyNone">sets predetermined space intervals, custom FM, station search space specified intervals  </td></tr>
</table>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">akc695x_fm_band</td><td>FM band (see manual FM band table above). Set to a number greater than 7 if you want a custom FM band. </td></tr>
    <tr><td class="paramname">minimum_freq</td><td>Minimal frequency of the band </td></tr>
    <tr><td class="paramname">maximum_freq</td><td>Band maximum frequency </td></tr>
    <tr><td class="paramname">default_frequency</td><td>default frequency </td></tr>
    <tr><td class="paramname">default_step</td><td>increment and decrement step </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="group___g_a04.html#ga735ce923f793b2cc437ff4c09cd4f026">AKC695X::commitTune()</a>.</p>

</div>
</div>
<a id="ga8f61d1c6b668dbcdb5917b58580ed44e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8f61d1c6b668dbcdb5917b58580ed44e">&#9670;&nbsp;</a></span>setAM()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::setAM </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>akc695x_am_band</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>minimum_freq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>maximum_freq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>default_frequency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>default_step</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the <a class="el" href="class_a_k_c695_x.html">AKC695X</a> to AM mode and selects the band. </p>
<p>This method configures the AM band you want to use.</p>
<p>You must respect the frequency limits defined by the AKC595X device documentation.</p>
<p>You can configure a custom band by setting a band greater than 17</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">AM band </th><th class="markdownTableHeadNone">N# </th><th class="markdownTableHeadNone">Description  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">00000 </td><td class="markdownTableBodyNone">0 </td><td class="markdownTableBodyNone">LW, 0.15 ~ 0.285, 3K station search  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">00001 </td><td class="markdownTableBodyNone">1 </td><td class="markdownTableBodyNone">MW1, 0.52 ~ 1.71, 5K station search  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">00010 </td><td class="markdownTableBodyNone">2 </td><td class="markdownTableBodyNone">MW2, 0.522 ~ 1.62, 9K station search  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">00011 </td><td class="markdownTableBodyNone">3 </td><td class="markdownTableBodyNone">MW3, 0.52 ~ 1.71, 10K station search  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">00100 </td><td class="markdownTableBodyNone">4 </td><td class="markdownTableBodyNone">SW1, 4.7 ~ 10, 5K station search  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">00101 </td><td class="markdownTableBodyNone">5 </td><td class="markdownTableBodyNone">SW2, 3.2 ~ 4.1, 5K station search  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">00110 </td><td class="markdownTableBodyNone">6 </td><td class="markdownTableBodyNone">SW3, 4.7 ~ 5.6, 5K station search  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">00111 </td><td class="markdownTableBodyNone">7 </td><td class="markdownTableBodyNone">SW4, 5.7 ~ 6.4, 5K station search  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">01000 </td><td class="markdownTableBodyNone">8 </td><td class="markdownTableBodyNone">SW5, 6.8 ~ 7.6, 5K station search  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">01001 </td><td class="markdownTableBodyNone">9 </td><td class="markdownTableBodyNone">SW6, 9.2 ~ 10, 5K station search  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">01010 </td><td class="markdownTableBodyNone">10 </td><td class="markdownTableBodyNone">SW7, 11.4 ~ 12.2, 5K station search  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">01011 </td><td class="markdownTableBodyNone">11 </td><td class="markdownTableBodyNone">SW8, 13.5 ~ 14.3  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">01100 </td><td class="markdownTableBodyNone">12 </td><td class="markdownTableBodyNone">SW9, 15 ~ 15.9  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">01101 </td><td class="markdownTableBodyNone">13 </td><td class="markdownTableBodyNone">SW10, 17.4 ~ 17.9  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">01110 </td><td class="markdownTableBodyNone">14 </td><td class="markdownTableBodyNone">SW11, 18.9 ~ 19.7, 5K station search  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">01111 </td><td class="markdownTableBodyNone">15 </td><td class="markdownTableBodyNone">SW12, 21.4 ~ 21.9, 5K station search  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">10000 </td><td class="markdownTableBodyNone">16 </td><td class="markdownTableBodyNone">SW13, 11.4 ~ 17.9, 5K station search  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">10010 </td><td class="markdownTableBodyNone">17 </td><td class="markdownTableBodyNone">MW4, 0.52 to 1.73, 5K station search  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">Other </td><td class="markdownTableBodyNone">18+ </td><td class="markdownTableBodyNone">custom band, station search interval = 3K  </td></tr>
</table>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">akc695x_am_band</td><td>AM band. Set to a value greater than 17 if you want a custom AM band (see manual AM band table above) </td></tr>
    <tr><td class="paramname">minimum_freq</td><td>Minimal frequency of the band </td></tr>
    <tr><td class="paramname">maximum_freq</td><td>Band maximum frequency </td></tr>
    <tr><td class="paramname">default_frequency</td><td>default frequency </td></tr>
    <tr><td class="paramname">default_step</td><td>increment and decrement step </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="group___g_a04.html#ga735ce923f793b2cc437ff4c09cd4f026">AKC695X::commitTune()</a>.</p>

</div>
</div>
<a id="gabf17b1129300da3388a1ee18735a64e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabf17b1129300da3388a1ee18735a64e6">&#9670;&nbsp;</a></span>setStep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::setStep </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>step</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the step that will be used to increment and decrement the current frequency. </p>
<p>The <a class="el" href="class_a_k_c695_x.html">AKC695X</a> has two possible steps (3KHz and 5KHz). The step value is important to calculate the frequenvy you want to set.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group___g_a04.html#ga0873887fb945b74c56f12ec601be00ac" title="Sets the the device to a given frequency.">setFrequency</a> </dd>
<dd>
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 12</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">step</td><td>The valid values are 3 and 5. Other values will be ignored. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaabe4bb9635ae8a7b53a5fd48b98d6339"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaabe4bb9635ae8a7b53a5fd48b98d6339">&#9670;&nbsp;</a></span>setFmSeekStep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::setFmSeekStep </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>space</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets FM step for seeking. </p>
<p>Sets FM seek step.</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">spece </th><th class="markdownTableHeadNone">N# </th><th class="markdownTableHeadNone">step  </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">00 </td><td class="markdownTableBodyNone">0 </td><td class="markdownTableBodyNone">25 KHz  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">01 </td><td class="markdownTableBodyNone">1 </td><td class="markdownTableBodyNone">50 KHz  </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">10 </td><td class="markdownTableBodyNone">2 </td><td class="markdownTableBodyNone">100 KHz  </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">11 </td><td class="markdownTableBodyNone">3 </td><td class="markdownTableBodyNone">200 KHz  </td></tr>
</table>
<dl class="section see"><dt>See also</dt><dd>AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 14</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">space</td><td>value betwenn 0 and 3 (see table above). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga60e4f53f014c32b748de04c9d643826d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga60e4f53f014c32b748de04c9d643826d">&#9670;&nbsp;</a></span>seekStation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::seekStation </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>up_down</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void(*)()&#160;</td>
          <td class="paramname"><em>showFunc</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Seeks a FM station. </p>
<p>Seek a FM Station</p>
<div class="fragment"><div class="line"><span class="comment">// Do this if you want to show the frequency during the seek process. </span></div>
<div class="line"><span class="comment">// Where showFrequency is the function name of your sketch that shows the current frequency.  </span></div>
<div class="line">radio.<a class="code" href="group___g_a04.html#ga60e4f53f014c32b748de04c9d643826d">seekStation</a>(up_down,showFrequency);  </div>
</div><!-- fragment --><div class="fragment"><div class="line"><span class="comment">// Do this if you don&#39;t want to show the frequency during seek process. </span></div>
<div class="line">radio.<a class="code" href="group___g_a04.html#ga60e4f53f014c32b748de04c9d643826d">seekStation</a>(up_down);  </div>
</div><!-- fragment --><dl class="section see"><dt>See also</dt><dd><a class="el" href="group___g_a01.html#unionakc595x__reg20" title="Reg20 (type 0x14 / R)">akc595x_reg20</a>, <a class="el" href="group___g_a01.html#ga3d85865e7c11161e222ed157c4e2d169" title="Reg21 (type 0x15 / R)">akc595x_reg21</a>, <a class="el" href="group___g_a03_a.html#ga62a70a5191c3e56dfa6cc51c314bc210" title="Converts the channel stored in the registers 20 and 21 to frequency.">channelToFrequency</a></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">up_down</td><td>if 0, seek down; if 1, seek up. </td></tr>
    <tr><td class="paramname">showFunc</td><td>Optional. Point to the function in you sketch that shows the current frequency. If NULL, do nothing (default). <br  />
 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga0873887fb945b74c56f12ec601be00ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0873887fb945b74c56f12ec601be00ac">&#9670;&nbsp;</a></span>setFrequency()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::setFrequency </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>frequency</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the the device to a given frequency. </p>
<p>This methods check the current mode (AM or FM), calculates the right channel to be setted.</p>
<p>Sets to reg2 structure the 5 most significan bist of the channel.</p>
<p>Sets to reg3 the 8 less significant bits of the channel.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group___g_a01.html#unionakc595x__reg2" title="Reg2 (type 0x02 / RW): configure register 2 (default: 0x4A) Address.">akc595x_reg2</a>, <a class="el" href="group___g_a01.html#ga70e552b2a9ce062ef0342a70e9717a50" title="Reg3 (type 0x03 / RW): configures register 3 (default: 0xC8) Address.">akc595x_reg3</a></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">frequency</td><td>frequency you want to set to </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="group___g_a04.html#ga735ce923f793b2cc437ff4c09cd4f026">AKC695X::commitTune()</a>.</p>

</div>
</div>
<a id="ga1675e3100bba495bc813899563badc42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1675e3100bba495bc813899563badc42">&#9670;&nbsp;</a></span>getFrequency()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t AKC695X::getFrequency </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the current frequency value. </p>
<p>Gets the current frequency. </p><dl class="section return"><dt>Returns</dt><dd>uint16_t Current frequency value. </dd></dl>

</div>
</div>
<a id="gaf8351a39885da7e518e6fc5208c801c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf8351a39885da7e518e6fc5208c801c7">&#9670;&nbsp;</a></span>frequencyUp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::frequencyUp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds the current step to the current frequency and sets the new frequency. </p>
<p>Goes to the next frequency channel <br  />
 </p>

</div>
</div>
<a id="gabb5f99342439074cf8f9353f1d1307f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabb5f99342439074cf8f9353f1d1307f5">&#9670;&nbsp;</a></span>frequencyDown()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::frequencyDown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Subtracts the current step from the current frequency and assign the new frequency. </p>
<p>Goes to the previous frequency channel <br  />
 </p>

</div>
</div>
<a id="ga0ff5be517897a239d2eba9869e1d2591"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0ff5be517897a239d2eba9869e1d2591">&#9670;&nbsp;</a></span>setAudio() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::setAudio </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>phase_inv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>line</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>volume</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the audio output. </p>
<p>This method sets the <a class="el" href="class_a_k_c695_x.html">AKC695X</a> device audio behaviour</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">phase_inv</td><td>if 0, audio output inphase; if 1, audio output inverted </td></tr>
    <tr><td class="paramname">line</td><td>if 0, audio input mode; if 1, radio mode. </td></tr>
    <tr><td class="paramname">volume</td><td>if 25 a 63, audio volume; if &lt;= 24 mute </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gafa446d042f11dd32356d2e95eae9f8cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafa446d042f11dd32356d2e95eae9f8cf">&#9670;&nbsp;</a></span>setAudio() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::setAudio </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the audio output with default values. </p>
<p>this method sets the audio phase_inv = 0; line = 1 and volume = 40;</p>
<p>Also, this set the audio controlled by MCU (Arduino)</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group___g_a04.html#gaac575af74cdbf784e24366f13fc60f99" title="Sets the kind of audio volume control will be used.">setVolumeControl</a> </dd></dl>

</div>
</div>
<a id="ga5c11dd6e97fe01ca7214676cb880e4a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5c11dd6e97fe01ca7214676cb880e4a7">&#9670;&nbsp;</a></span>setVolume()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::setVolume </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>volume</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the output audio volume. </p>
<p>Values less than 24 mute the audio output.</p>
<p>Values between 25 and 63 set the output audio volume. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">volume</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga8526d91de9d635764fbba4f6ce1fa7d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8526d91de9d635764fbba4f6ce1fa7d9">&#9670;&nbsp;</a></span>setVolumeUp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::setVolumeUp </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Increments the audio volume. </p>
<p>The maximum volume is 63 </p>

</div>
</div>
<a id="ga743ab35c54155385e6585ee0067a209e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga743ab35c54155385e6585ee0067a209e">&#9670;&nbsp;</a></span>setVolumeDown()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::setVolumeDown </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Decrements the audio volume. </p>
<p>The minimum volume is 25 </p>

</div>
</div>
<a id="gaac575af74cdbf784e24366f13fc60f99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaac575af74cdbf784e24366f13fc60f99">&#9670;&nbsp;</a></span>setVolumeControl()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AKC695X::setVolumeControl </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the kind of audio volume control will be used. </p>
<p>This method configures the kind of audio volume control will be used.</p>
<p>You can control the audio volume by potentiometer or by MCU (Arduino).</p>
<p>If you choose volume conttolled by Arduino (type 1), you can set the volume from 25 to 63 levels.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group___g_a04.html#ga5c11dd6e97fe01ca7214676cb880e4a7" title="Sets the output audio volume.">setVolume</a>, <a class="el" href="group___g_a01.html#unionakc595x__reg9" title="Reg9 (type 0x09 / RW): configure register 9 (default: 0x07) Address.">akc595x_reg9</a></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>0 = controlled by poteciometer; 1 controlled by the MCU </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gadf936fa32a36782b72633cae84d63f88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadf936fa32a36782b72633cae84d63f88">&#9670;&nbsp;</a></span>getRSSI()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AKC695X::getRSSI </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current RSSI. </p>
<p>This method calculates the RSSI based on two register (24 and 27).</p>
<p>Actually, it is the Antenna aperture and can be calculated using signal levels rssi, pgalevel_rf, pgalevel_if.</p>
<p>The rssi is stored in the register 27 and the pgalevel_rf, pgalevel_if are stored in register 24.</p>
<p>On FM mode or SW band, the formula is: Pin (dBuV) = 103 - rssi - 6 * pgalevel_rf - 6 * pgalevel_if</p>
<p>On AM mode (LW or MW), the formula is: Pin (dBuV) = 123 - rssi - 6 * pgalevel_rf - 6 * pgalevel_if <br  />
</p>
<dl class="section see"><dt>See also</dt><dd>AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio; page 16 </dd>
<dd>
<a class="el" href="group___g_a01.html#unionakc595x__reg24" title="Reg24 (type 0x18 / R)">akc595x_reg24</a>, <a class="el" href="group___g_a01.html#unionakc595x__reg27" title="Reg27 (type 0x1B / R)">akc595x_reg27</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>int RSSI value </dd></dl>

</div>
</div>
<a id="ga580389b4740ed5cabcba28e481344a64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga580389b4740ed5cabcba28e481344a64">&#9670;&nbsp;</a></span>getSupplyVoltage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float AKC695X::getSupplyVoltage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the supply voltage. </p>
<p>Gets the current supply voltage </p><dl class="section return"><dt>Returns</dt><dd>float the supply voltage </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="agroup___g_a04_html_ga60e4f53f014c32b748de04c9d643826d"><div class="ttname"><a href="group___g_a04.html#ga60e4f53f014c32b748de04c9d643826d">AKC695X::seekStation</a></div><div class="ttdeci">void seekStation(uint8_t up_down, void(*showFunc)()=NULL)</div><div class="ttdoc">Seeks a FM station.</div><div class="ttdef"><b>Definition:</b> AKC695X.cpp:657</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
